package hu.pixelesztergalyos.continuity;

import java.io.IOException;

// Interface for objects that can collide in the game
// Every implementor has to realize the methods
public interface Collideable {

	// Colliding with a Character
	void hitBy(Character character) throws IOException;

	// Colliding with a BuildingBlock
	void hitBy(BuildingBlock buildingBlock) throws IOException;

	// Colliding with the Gate
	void hitBy(Gate gate) throws IOException;

	// Colliding with the Key
	void hitBy(Key key) throws IOException;

	// Collding with a TransitionBlock
	void hitBy(TransitionBlock transitionBlock) throws IOException;
}
